<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__cryptolite__lld__vu__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__cryptolite.html">Cryptolite   (Cryptography)</a> &raquo; <a class="el" href="group__group__cryptolite__lld__vu.html">Vector Unit (VU)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga8ce74644512b67ed1ec049f153c9e6c2"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#ga8ce74644512b67ed1ec049f153c9e6c2">Cy_Cryptolite_Vu_mul_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b)</td></tr>
<tr class="memdesc:ga8ce74644512b67ed1ec049f153c9e6c2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs long integer multiplication operation.  <a href="#ga8ce74644512b67ed1ec049f153c9e6c2">More...</a><br /></td></tr>
<tr class="separator:ga8ce74644512b67ed1ec049f153c9e6c2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga56be3ef554cf87363d7d0649f5d369db"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#ga56be3ef554cf87363d7d0649f5d369db">Cy_Cryptolite_Vu_xmul_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b)</td></tr>
<tr class="memdesc:ga56be3ef554cf87363d7d0649f5d369db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs carry less long integer multiplication operation.  <a href="#ga56be3ef554cf87363d7d0649f5d369db">More...</a><br /></td></tr>
<tr class="separator:ga56be3ef554cf87363d7d0649f5d369db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab41807a781735b9c208c82a4cbfb03d8"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#gab41807a781735b9c208c82a4cbfb03d8">Cy_Cryptolite_Vu_add_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b)</td></tr>
<tr class="memdesc:gab41807a781735b9c208c82a4cbfb03d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs long integer addition operation.  <a href="#gab41807a781735b9c208c82a4cbfb03d8">More...</a><br /></td></tr>
<tr class="separator:gab41807a781735b9c208c82a4cbfb03d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf1bc2f1711c08e1206f14d8fd1a1a508"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#gaf1bc2f1711c08e1206f14d8fd1a1a508">Cy_Cryptolite_Vu_sub_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b)</td></tr>
<tr class="memdesc:gaf1bc2f1711c08e1206f14d8fd1a1a508"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs long integer subtraction operation.  <a href="#gaf1bc2f1711c08e1206f14d8fd1a1a508">More...</a><br /></td></tr>
<tr class="separator:gaf1bc2f1711c08e1206f14d8fd1a1a508"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3ee2ec9da2b356e683ac592a53803df8"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#ga3ee2ec9da2b356e683ac592a53803df8">Cy_Cryptolite_Vu_mov_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a)</td></tr>
<tr class="memdesc:ga3ee2ec9da2b356e683ac592a53803df8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs long integer move operation.  <a href="#ga3ee2ec9da2b356e683ac592a53803df8">More...</a><br /></td></tr>
<tr class="separator:ga3ee2ec9da2b356e683ac592a53803df8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad64118e64c0e31320afd3876f4891ec0"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#gad64118e64c0e31320afd3876f4891ec0">Cy_Cryptolite_Vu_lsl1_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a)</td></tr>
<tr class="memdesc:gad64118e64c0e31320afd3876f4891ec0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs left shifting of long integer by one bit.  <a href="#gad64118e64c0e31320afd3876f4891ec0">More...</a><br /></td></tr>
<tr class="separator:gad64118e64c0e31320afd3876f4891ec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga086be31af44eac7958aa3f373c9b06d0"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#ga086be31af44eac7958aa3f373c9b06d0">Cy_Cryptolite_Vu_lsr1_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a)</td></tr>
<tr class="memdesc:ga086be31af44eac7958aa3f373c9b06d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs right shifting of long integer by one bit.  <a href="#ga086be31af44eac7958aa3f373c9b06d0">More...</a><br /></td></tr>
<tr class="separator:ga086be31af44eac7958aa3f373c9b06d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gabe11b7fc6a86fa706c528e8ff18f05f8"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#gabe11b7fc6a86fa706c528e8ff18f05f8">Cy_Cryptolite_Vu_lsr_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint32_t shift)</td></tr>
<tr class="memdesc:gabe11b7fc6a86fa706c528e8ff18f05f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs right shifting of long integer by shift bits.  <a href="#gabe11b7fc6a86fa706c528e8ff18f05f8">More...</a><br /></td></tr>
<tr class="separator:gabe11b7fc6a86fa706c528e8ff18f05f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab11a3de970e2ebf6f19dea3e68fb8e44"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#gab11a3de970e2ebf6f19dea3e68fb8e44">Cy_Cryptolite_Vu_xor_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b)</td></tr>
<tr class="memdesc:gab11a3de970e2ebf6f19dea3e68fb8e44"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs long integer exclusive-or operation.  <a href="#gab11a3de970e2ebf6f19dea3e68fb8e44">More...</a><br /></td></tr>
<tr class="separator:gab11a3de970e2ebf6f19dea3e68fb8e44"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga53efc83bbd5511659271d867d01ead7a"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__cryptolite__lld__vu__functions.html#ga53efc83bbd5511659271d867d01ead7a">Cy_Cryptolite_Vu_cond_sub_hw</a> (CRYPTOLITE_Type *base, cy_stc_cryptolite_descr_t *p_struct, uint8_t *p_z, uint32_t word_size_z, uint8_t *p_a, uint32_t word_size_a, uint8_t *p_b, uint32_t word_size_b)</td></tr>
<tr class="memdesc:ga53efc83bbd5511659271d867d01ead7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Performs long integer conditional subtraction operation.  <a href="#ga53efc83bbd5511659271d867d01ead7a">More...</a><br /></td></tr>
<tr class="separator:ga53efc83bbd5511659271d867d01ead7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga8ce74644512b67ed1ec049f153c9e6c2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8ce74644512b67ed1ec049f153c9e6c2">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_mul_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_mul_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs long integer multiplication operation. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a, p_b &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the first operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
    <tr><td class="paramname">p_b</td><td>The pointer to the second operand buffer.</td></tr>
    <tr><td class="paramname">word_size_b</td><td>The size of the p_b buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line">        <span class="comment">/* Operand B*/</span></div><div class="line">    CY_ALIGN(4)  uint8_t operand_b[16] =</div><div class="line">    {</div><div class="line">        0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a</div><div class="line">    };</div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[32]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#ga8ce74644512b67ed1ec049f153c9e6c2">Cy_Cryptolite_Vu_mul_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8), operand_b, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga56be3ef554cf87363d7d0649f5d369db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga56be3ef554cf87363d7d0649f5d369db">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_xmul_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_xmul_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs carry less long integer multiplication operation. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a, p_b &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the first operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
    <tr><td class="paramname">p_b</td><td>The pointer to the second operand buffer.</td></tr>
    <tr><td class="paramname">word_size_b</td><td>The size of the p_b buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line">        <span class="comment">/* Operand B*/</span></div><div class="line">    CY_ALIGN(4)  uint8_t operand_b[16] =</div><div class="line">    {</div><div class="line">        0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a</div><div class="line">    };</div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[32]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#ga56be3ef554cf87363d7d0649f5d369db">Cy_Cryptolite_Vu_xmul_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8), operand_b, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gab41807a781735b9c208c82a4cbfb03d8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab41807a781735b9c208c82a4cbfb03d8">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_add_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_add_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs long integer addition operation. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a, p_b &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the first operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
    <tr><td class="paramname">p_b</td><td>The pointer to the second operand buffer.</td></tr>
    <tr><td class="paramname">word_size_b</td><td>The size of the p_b buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line">        <span class="comment">/* Operand B*/</span></div><div class="line">    CY_ALIGN(4)  uint8_t operand_b[16] =</div><div class="line">    {</div><div class="line">        0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a</div><div class="line">    };</div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[16]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#gab41807a781735b9c208c82a4cbfb03d8">Cy_Cryptolite_Vu_add_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8), operand_b, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gaf1bc2f1711c08e1206f14d8fd1a1a508"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf1bc2f1711c08e1206f14d8fd1a1a508">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_sub_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_sub_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs long integer subtraction operation. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a, p_b &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the first operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
    <tr><td class="paramname">p_b</td><td>The pointer to the second operand buffer.</td></tr>
    <tr><td class="paramname">word_size_b</td><td>The size of the p_b buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line">        <span class="comment">/* Operand B*/</span></div><div class="line">    CY_ALIGN(4)  uint8_t operand_b[16] =</div><div class="line">    {</div><div class="line">        0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a</div><div class="line">    };</div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[16]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#gaf1bc2f1711c08e1206f14d8fd1a1a508">Cy_Cryptolite_Vu_sub_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8), operand_b, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga3ee2ec9da2b356e683ac592a53803df8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3ee2ec9da2b356e683ac592a53803df8">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_mov_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_mov_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs long integer move operation. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[16]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#ga3ee2ec9da2b356e683ac592a53803df8">Cy_Cryptolite_Vu_mov_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gad64118e64c0e31320afd3876f4891ec0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad64118e64c0e31320afd3876f4891ec0">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_lsl1_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_lsl1_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs left shifting of long integer by one bit. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[16]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#gad64118e64c0e31320afd3876f4891ec0">Cy_Cryptolite_Vu_lsl1_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga086be31af44eac7958aa3f373c9b06d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga086be31af44eac7958aa3f373c9b06d0">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_lsr1_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_lsr1_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs right shifting of long integer by one bit. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[16]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#ga086be31af44eac7958aa3f373c9b06d0">Cy_Cryptolite_Vu_lsr1_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gabe11b7fc6a86fa706c528e8ff18f05f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gabe11b7fc6a86fa706c528e8ff18f05f8">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_lsr_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_lsr_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>shift</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs right shifting of long integer by shift bits. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
    <tr><td class="paramname">shift</td><td>The number of bits to shift right.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[16]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line">    uint8_t bit_shift =5u;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#gabe11b7fc6a86fa706c528e8ff18f05f8">Cy_Cryptolite_Vu_lsr_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8), bit_shift);</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="gab11a3de970e2ebf6f19dea3e68fb8e44"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab11a3de970e2ebf6f19dea3e68fb8e44">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_xor_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_xor_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs long integer exclusive-or operation. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a, p_b &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the first operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
    <tr><td class="paramname">p_b</td><td>The pointer to the second operand buffer.</td></tr>
    <tr><td class="paramname">word_size_b</td><td>The size of the p_b buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line">        <span class="comment">/* Operand B*/</span></div><div class="line">    CY_ALIGN(4)  uint8_t operand_b[16] =</div><div class="line">    {</div><div class="line">        0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a</div><div class="line">    };</div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[16]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#gab11a3de970e2ebf6f19dea3e68fb8e44">Cy_Cryptolite_Vu_xor_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8), operand_b, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
<a id="ga53efc83bbd5511659271d867d01ead7a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga53efc83bbd5511659271d867d01ead7a">&#9670;&nbsp;</a></span>Cy_Cryptolite_Vu_cond_sub_hw()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> Cy_Cryptolite_Vu_cond_sub_hw </td>
          <td>(</td>
          <td class="paramtype">CRYPTOLITE_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">cy_stc_cryptolite_descr_t *&#160;</td>
          <td class="paramname"><em>p_struct</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_z</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t *&#160;</td>
          <td class="paramname"><em>p_b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>word_size_b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Performs long integer conditional subtraction operation. </p>
<dl class="section note"><dt>Note</dt><dd>The pointers p_a, p_b &amp; p_z must be 4 byte aligned and end in 4 byte boundary. </dd>
<dd>
User should use the function CY_REMAP_ADDRESS_CRYPTOLITE() to get the remapped address and use it for all the VU operations.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>The pointer to a Cryptolite instance.</td></tr>
    <tr><td class="paramname">p_struct</td><td>The pointer to the cy_stc_cryptolite_descr_t.</td></tr>
    <tr><td class="paramname">p_z</td><td>The buffer pointer to the store the output.</td></tr>
    <tr><td class="paramname">word_size_z</td><td>The size of the p_z buffer in word size.</td></tr>
    <tr><td class="paramname">p_a</td><td>The pointer to the first operand buffer.</td></tr>
    <tr><td class="paramname">word_size_a</td><td>The size of the p_a buffer in word size.</td></tr>
    <tr><td class="paramname">p_b</td><td>The pointer to the second operand buffer.</td></tr>
    <tr><td class="paramname">word_size_b</td><td>The size of the p_b buffer in word size.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>status code. See <a class="el" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd><div class="fragment"><div class="line"></div><div class="line">        <span class="comment">/* Operand A*/</span></div><div class="line">    CY_ALIGN(4) uint8_t operand_a[] =</div><div class="line">    {</div><div class="line">        0x2b,0x7e,0x15,0x16,0x28,0xae,0xd2,0xa6,0xab,0xf7,0x15,0x88,0x09,0xcf,0x4f,0x3c</div><div class="line">    };</div><div class="line"></div><div class="line">        <span class="comment">/* Operand B*/</span></div><div class="line">    CY_ALIGN(4)  uint8_t operand_b[16] =</div><div class="line">    {</div><div class="line">        0x6b,0xc1,0xbe,0xe2,0x2e,0x40,0x9f,0x96,0xe9,0x3d,0x7e,0x11,0x73,0x93,0x17,0x2a</div><div class="line">    };</div><div class="line"></div><div class="line">    CY_ALIGN(4) uint8_t output[16]={0};</div><div class="line">    <a class="code" href="group__group__cryptolite__enums.html#gafaeb3f2fb88784222220aee907e36710">cy_en_cryptolite_status_t</a> status;</div><div class="line">    cy_stc_cryptolite_descr_t desc;</div><div class="line"></div><div class="line">    status =  <a class="code" href="group__group__cryptolite__lld__vu__functions.html#ga53efc83bbd5511659271d867d01ead7a">Cy_Cryptolite_Vu_cond_sub_hw</a> (CRYPTOLITE, &amp;desc, output, VU_BITS_TO_WORDS(16*8), operand_a, VU_BITS_TO_WORDS(16*8), operand_b, VU_BITS_TO_WORDS(16*8));</div><div class="line"></div></div><!-- fragment --></dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
